package 线程.day1.demo4;

import java.util.concurrent.FutureTask;

public class Test {
    public static void main(String[] args)throws Exception {
        T t=new T();
        FutureTask rs=new FutureTask(t);
        new Thread(rs).start();
        System.out.println(rs.get());

    }
}
